package frameworkPattern;

public abstract class FrameworkPattern {
	public final void framework() {
		method1();
		method2();
		abstractMethod1();
		hook();
	}

	abstract public void abstractMethod1();

	private void method2() {
		System.out.println("Call method2");
	}

	private void method1() {
		System.out.println("Call method1");
	}

	/**
	 * This is a hook
	 */
	public void hook() {

	}

}
